-- shield_power
-- created by cheny3 Oct/10/2016
-- 受创时，将所受伤害转换为恢复生命值

return {
    apply = function(prop, baseValue)
        return prop[3];
    end,

    record = function(target, prop, path)
        return false;
    end,

    clear = function(target, prop)
        EventMgr.fire(event.COMBAT_STATUS_PROP_CLEAR,
            {["target"] = target, ["prop"] = prop, ["status"] = "shield_power"});
    end,
};